#include "main.h"

int main(int argc, char** argv)
{
	if(argc > 3)
	{
		printf("Too many arguments.\r\n");
		exit(0);
	}
	else if(argc == 2)
	{
		if(!strcmp(argv[1], "--help"))
		{
			printf("3D Filebrowser, usage information.\r\n");
			exit(0);
		}
		else if((!strcmp(argv[1], "--version") || !strcmp(argv[1], "-V")))
		{
			printf("3D Filebrowser version: %s.\r\n", FB3D_VERSION);
		}
		else
		{
			printf("Invalid arguments.\r\n");
			exit(0);
		}
	}
	else if(argc == 3)
	{
		if((!strmp(argv[1], "--dir") || !strcmp(argv[1], "-D")))
		{
			// Okay, the user want to start from a choosen directory.
		}
		else
		{
			printf("Invalid arguments.\r\n");
			exit(0);
		}
	}
}